/* 
 * File:   roi.h
 * Author: gustavo
 *
 * Created on November 27, 2011, 5:10 AM
 */

#ifndef ROI_H
#define	ROI_H

#ifdef	__cplusplus
extern "C" {
#endif

#include <util/types.h>
	
#include "../../imp_types.h"
#include "../../matrix/matrix.h"

	typedef struct _roi Roi;
	struct _roi {
		Ref2 * p;
		int n;
	};


	real imp_image_roi_weight(ImpMatrix * Gray, Ref2 * p, int n);
	List * imp_image_roi_points(ImpMatrix * Gray, Ref2 * p, int n);

#ifdef	__cplusplus
}
#endif

#endif	/* ROI_H */

